package com.outsider.weixin.dao;

import com.jfinal.plugin.activerecord.ActiveRecordPlugin;
import com.outsider.movie.dao.Movie;
import com.outsider.news.dao.Acfun;
import com.outsider.news.dao.Keyword;
import com.outsider.news.dao.PhoenixNews;
import com.outsider.news.dao.Zhihu;
import com.outsider.note.dao.TextNote;
import com.outsider.note.dao.VoiceNote;
import com.outsider.product.dao.Product;
import com.outsider.product.dao.ProductRecord;
import com.outsider.thunder.dao.TaskUserRelation;

/**
 * Generated by JFinal, do not modify this file.
 * <pre>
 * Example:
 * public void configPlugin(Plugins me) {
 *     ActiveRecordPlugin arp = new ActiveRecordPlugin(...);
 *     _MappingKit.mapping(arp);
 *     me.add(arp);
 * }
 * </pre>
 */
public class _MappingKit {

	public static void mapping(ActiveRecordPlugin arp) {
		arp.addMapping("tb_acfun", "ID", Acfun.class);
		arp.addMapping("tb_product", "ID", Product.class);
		arp.addMapping("tb_product_record", "ID", ProductRecord.class);
		arp.addMapping("tb_task_user_relation", "ID", TaskUserRelation.class);
		arp.addMapping("tb_text_note", "ID", TextNote.class);
		arp.addMapping("tb_user", "ID", User.class);
		arp.addMapping("tb_voice_note", "ID", VoiceNote.class);
		arp.addMapping("tb_location","ID", Location.class);
		arp.addMapping("tb_zhihu", "ID",Zhihu.class);
		arp.addMapping("tb_keyword", "ID",Keyword.class);
		arp.addMapping("tb_phoenix_news", "ID",PhoenixNews.class);
		arp.addMapping("tb_movie", "ID", Movie.class);
	}
}

